package com.jt.Service;
import org.springframework.stereotype.Service;

@Service("target")
public class UserServiceImpl implements UserService{
    @Override
    public void addUser() {
        System.out.println("新增用户");

    }

    @Override
    public void deleteUser() {
        System.out.println("删除用户");

    }

    @Override
    public void method() {
        String methodName = Thread.currentThread().getStackTrace()[1].getMethodName();
        String name = this.getClass().getName();
        System.out.println(methodName);
        System.out.println(name);
    }


}
